package com.tanhua.dubbo.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BasePojo {
    private static final long serialVersionUID = 4899169410509180585L;

    private Long id;
    //手机号
    private String mobile;

    @JsonIgnore
    private String password;
    //密码，json序列化时忽略
}
